package senior.ioExer;

import java.io.File;

/**
 * 输出当前电脑中所有的盘符
 * @author shkstart
 * @creat 2022-04-16:02
 */
public class Exer7 {
    public static void main(String[] args) {
        File[] roots = File.listRoots();
        for (File file:roots){
            System.out.println(file);
        }

    }
}
